package exception;

public class ThrowDemo {
    public static void main(String[] args) {
        Student zs = new Student();
        try {
            zs.setAge(200);
            System.out.println(zs);
        } catch (AgeOutOfBoundsException e) {
            e.printStackTrace();
        }
    }
}
